<dl class="kx_gallery_image kx_display">
	<dd class="kx_content">
		<div class="kx_head">
			<h1 class="kx_title"><?php print $this->row['name']?></h1>
	
			<?php if (count($site = $this->urlParams('fromSite'))):?>
				<a class="kx_back" href="<?php print $this->url(array('alias'=>$site['alias']),'site',true)?>">&laquo; powrót do strony <em><?php print $this->escape($site['name'])?></em></a>
			<?php else:?>
				<a class="kx_back" href="<?php print $this->url(array('action' => 'index','controller'=>'gallery','module'=>'gallery'),'default',true);?>">&laquo; powrót do spisu galerii</a>
			<?php endif;?>
		</div>
	
		<div class="kx_main kx_image">
			<img src="/upload/gallery/preview/<?php print $this->escape($this->row['image'])?>" alt="<?php print $this->escape($this->row['name'])?>" />
		</div>
	
		<?php if (strlen($this->row['description'])):?>
		<div class="kx_description">
			<?php print $this->renderer($this->row['description'])->render()?>
		</div>
		<?php endif;?>
	</dd>
</dl>